<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>SPI Driver: Signal Attributes</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SPI Driver
   &#160;<span id="projectnumber">1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group4.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Signal Attributes</div>  </div>
</div><!--header-->
<div class="contents">

<p>Information about port configurations.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gae8ecf743145569e5b67dadd2f3b37cc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group4.html#gae8ecf743145569e5b67dadd2f3b37cc7">DSPI0_PORT</a>&#160;&#160;&#160;'A'</td></tr>
<tr class="separator:gae8ecf743145569e5b67dadd2f3b37cc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab670645d0590ef0f380f06a9bc1e8ffc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group4.html#gab670645d0590ef0f380f06a9bc1e8ffc">DSPI1_PORT</a>&#160;&#160;&#160;'C'</td></tr>
<tr class="separator:gab670645d0590ef0f380f06a9bc1e8ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb12b5473a73d2b6fd70881a6bcd1eaf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group4.html#gabb12b5473a73d2b6fd70881a6bcd1eaf">DSPI2_PORT</a>&#160;&#160;&#160;'E'</td></tr>
<tr class="separator:gabb12b5473a73d2b6fd70881a6bcd1eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Information about port configurations. </p>
<p>Each of the three DSPI modes are assigned to some pins, this driver configures these pins to match SPI requirements (push-pull output, slew rate, buffers etc) and the user only needs to select one of the available ports for each module.</p>
<p>DSPI0 has only pins on PORT A (medium speed), pins 12-15.<br/>
 -A12: SIN, A13: SOUT,<br/>
 -A14: SCK, A15: CS.<br/>
<br/>
</p>
<p>DSPI1 has three possible ports:<br/>
 -PORT C (slow), pins 2-5:<br/>
 &ndash;C2: SCK, C3:CS,<br/>
 &ndash;C4: SIN, C5:SOUT.<br/>
 -PORT E (medium speed, don't forget to remove button jumpers on TRK board), pins 2-5:<br/>
 &ndash;E2: SIN, E3:SOUT,<br/>
 &ndash;E4: SCK, E5:CS.<br/>
 -PORT H (medium speed), pins 0-3:<br/>
 &ndash;H0: SIN, H4:SOUT,<br/>
 &ndash;H2: SCK, H3:CS.<br/>
</p>
<p>DSPI2 has two possible ports:<br/>
 -PORT C (slow), pins 12-15:<br/>
 &ndash;C12: SIN, C13:SOUT,<br/>
 &ndash;C14: SCK, C15:CS.<br/>
 -PORT E (slow), pins 12-15:<br/>
 &ndash;C12: SIN, C13:SOUT,<br/>
 &ndash;C14: SCK, C15:CS.<br/>
 </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gae8ecf743145569e5b67dadd2f3b37cc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSPI0_PORT&#160;&#160;&#160;'A'</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Port definition for DSPI0, there is no alternative. </p>

<p>Definition at line <a class="el" href="spi__drv_8h_source.html#l00272">272</a> of file <a class="el" href="spi__drv_8h_source.html">spi_drv.h</a>.</p>

</div>
</div>
<a class="anchor" id="gab670645d0590ef0f380f06a9bc1e8ffc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSPI1_PORT&#160;&#160;&#160;'C'</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Port definition for DSPI1, alternatives are<br/>
 </p>
<div class="fragment"><div class="line"><span class="preprocessor">#define DSPI1_PORT &#39;E&#39;</span></div>
<div class="line"><span class="preprocessor">#define DSPI1_PORT &#39;H&#39; </span></div>
</div><!-- fragment --> 
<p>Definition at line <a class="el" href="spi__drv_8h_source.html#l00279">279</a> of file <a class="el" href="spi__drv_8h_source.html">spi_drv.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabb12b5473a73d2b6fd70881a6bcd1eaf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DSPI2_PORT&#160;&#160;&#160;'E'</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Port definition for DSPI2, alternative is<br/>
 </p>
<div class="fragment"><div class="line"><span class="preprocessor">#define DSPI2_PORT &#39;C&#39;</span></div>
</div><!-- fragment --> 
<p>Definition at line <a class="el" href="spi__drv_8h_source.html#l00285">285</a> of file <a class="el" href="spi__drv_8h_source.html">spi_drv.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Aug 19 2013 09:51:11 for SPI Driver by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.4 </li>
  </ul>
</div>
</body>
</html>
